<template>
    <!--用户信息-->
    <Modal
            v-model="usermsg_show"
            title="会员信息"
            :loading="usermsg_loading"
            @on-ok="usermsgOk">
        <Row type="flex" justify="space-between" class="code-row-bg">
            <Col span="12">
                <Form :model="usermsg" label-position="right" :label-width="100">
                    <FormItem label="会员账号：">
                        <span v-html="usermsg.id"></span>
                    </FormItem>
                    <FormItem label="账号类型：">
                        <span v-html="usermsg.type"></span>
                    </FormItem>
                    <FormItem label="保证金：">
                        <span v-html="usermsg.cash_deposit"></span>
                    </FormItem>
                    <FormItem label="注册时间：">
                        <span v-html="usermsg.register_time"></span>
                    </FormItem>
                </Form>
            </Col>
            <Col span="12">
                <Form :model="usermsg" label-position="right" :label-width="100">
                    <FormItem label="姓名：">
                        <span v-html="usermsg.name"></span>
                    </FormItem>
                    <FormItem label="手机：">
                        <span v-html="usermsg.tel"></span>
                    </FormItem>
                    <FormItem label="可用余额：">
                        <span v-html="usermsg.balance"></span>
                    </FormItem>
                    <FormItem label="最后登录时间：">
                        <span v-html="usermsg.last_login_time"></span>
                    </FormItem>
                </Form>
            </Col>
        </Row>

    </Modal>
</template>

<script>
    export default {
        name: "userMsgModal",
        props:['usermsg','usermsg_show','usermsg_loading'],
        methods:{
            usermsgOk(){
                this.$emit('usermsgOk')
            },
        }
    }
</script>

<style>

</style>





















